package com.googlecode.gwtbb.client.only.widget.display.user;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Label;
import com.googlecode.gwtbb.client.shared.entity.user.User;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Jul 7, 2008
 */
public class UserLink extends Composite {
	public UserLink(User user) {
		Label userLabel = new Label(user.getUsername());
		initWidget(userLabel);
		userLabel.setStylePrimaryName("gwtbb-UserLink");
	}
}
